package com.qhit.service;

import com.qhit.pojo.Role;

import java.util.HashMap;
import java.util.List;

public interface RoleService {
    List<Role> getList(HashMap hashMap);

    List<Role> getList2();
    Long getListCount(HashMap hashMap);

    int add(Role role);

    Role getRoleById(Integer id);

    int edit(Role role);

    int delete(Integer id);

    List<Role> getRolesByUserId(int id);
}
